package com.music.pojo;

import com.laoxuai.ibatis.annotation.Column;
import com.laoxuai.ibatis.annotation.Id;
import com.laoxuai.ibatis.annotation.Table;
import java.io.Serializable;

import java.lang.Integer;
import java.lang.String;
import java.sql.Date;


@Table(value="t_user")
public class User implements Serializable{

	@Id
    @Column(value = "user_id")
	private Integer userId; //
	@Column(value = "auth")
	private Integer auth; //
    @Column(value = "name")
	private String name; // 
    @Column(value = "phone")
	private String phone; //
    @Column(value = "password")
	private String password; //

	@Column(value = "salt")
	private String salt;

    @Column(value = "level")
	private Integer level; // 
    @Column(value = "avatar_url")
	private String avatarUrl; // 
    @Column(value = "create_time")
	private Date createTime; // 
    @Column(value = "update_time")
	private Date updateTime; // 
    @Column(value = "is_deleted")
	private Integer isDeleted; //

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}


	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}


	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public Integer getAuth() {
		return auth;
	}

	public void setAuth(Integer auth) {
		this.auth = auth;
	}
}
